class PostController < ApplicationController
  layout "recipe", :except => :rss
  def index
@recipes = Recipe.all
respond_to do |format|
format.html # index.html.erb
format.xml  { render :xml => @posts }
format.rss { render :layout => false }
end
end

def rss
@recipes = Recipe.all :order => "created_at"
end

end
